package com.dj.dormitory.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.dormitory.entity.Building;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dj.dormitory.entity.req.BuildingReq;
import com.dj.dormitory.entity.vo.BuildingVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 楼宇 Mapper 接口
 * </p>
 *
 * @author DJ同学
 * @since 2021-01-24
 */
public interface BuildingMapper extends BaseMapper<Building> {

    List<BuildingVo> getBuildingList(Page<BuildingVo> page, @Param("buildingReq") BuildingReq buildingReq);
}
